package com.atguigu.dao;

import com.atguigu.base.BaseDao;
import com.atguigu.entity.RolePermission;

import java.util.List;

/**
 * @ClassName RolePermissionDao
 * @Description 此类描述:
 * @Author dangchen
 * @DateTime 2022-08-30 13:45
 * @Version 1.0
 */
public interface RolePermissionDao extends BaseDao<RolePermission> {
    List<Long> findPermissionIdListByRoleId(Long roleId);

    void deleteByRoleId(Long roleId);
}
